import java.util.Calendar;

public abstract class Parser {

	protected String fullFileDir;

	public Parser(String fullFileDir) {
		this.fullFileDir = fullFileDir;
	}

	public abstract void process();

	public long run(int numberOfRunTime) {
		long startTime = Calendar.getInstance().getTimeInMillis();
		for (int i = 0; i < numberOfRunTime; i++) {
			this.process();
		}
		long endTime = Calendar.getInstance().getTimeInMillis();
		return endTime - startTime;
	}
}
